<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>下载APP - 立即体验全新服务</title>
    <style>
        /* 基础样式 */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, sans-serif;
        }

        body {
            background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
            min-height: 100vh;
            position: relative;
        }

        /* 卡片容器 */
        .container {
            padding: 20px;
            padding-top: 60px;
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* 头部区域 */
        .header {
            text-align: center;
            margin-bottom: 40px;
        }

        .app-logo {
            width: 80px;
            height: 80px;
            border-radius: 16px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            margin-bottom: 20px;
        }

        h1 {
            font-size: 24px;
            color: #2d3436;
            margin-bottom: 8px;
        }

        .slogan {
            color: #636e72;
            font-size: 14px;
        }

        /* 功能亮点 */
        .features {
            background: white;
            border-radius: 20px;
            padding: 25px;
            width: 100%;
            max-width: 400px;
            box-shadow: 0 8px 24px rgba(0,0,0,0.06);
            margin-bottom: 30px;
            position: relative;
            overflow: hidden;
        }

        .features::after {
            content: "";
            position: absolute;
            top: -50px;
            right: -50px;
            width: 120px;
            height: 120px;
            background: #6c5ce7;
            border-radius: 50%;
            opacity: 0.1;
        }

        .feature-item {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }

        .feature-icon {
            width: 40px;
            height: 40px;
            margin-right: 15px;
        }

        /* 下载按钮 */
        .download-btn {
            background: linear-gradient(45deg, #6c5ce7, #a363d9);
            color: white;
            padding: 16px 40px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            font-size: 18px;
            box-shadow: 0 4px 12px rgba(108,92,231,0.3);
            transition: transform 0.2s;
            display: flex;
            align-items: center;
            margin-top: 10px;
        }

        .download-btn:hover {
            transform: translateY(-2px);
        }

        /* 微信提示 */
        .wechat-tip {
            background: rgba(255,255,255,0.9);
            border-radius: 12px;
            padding: 15px;
            margin-top: 20px;
            text-align: center;
            display: none;
        }

        /* 响应式设计 */
        @media (max-width: 375px) {
            h1 {
                font-size: 22px;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <!-- 头部区域 -->
        <div class="header">
            <!-- <img src="your-app-logo.png" alt="APP Logo" class="app-logo"> -->
            <h1>立即体验 <span style="color: #6c5ce7;">云监工APP</span></h1>
            <p class="slogan">发现全新管理方式</p>
        </div>

        <!-- 功能亮点 -->
        <div class="features">
            <div class="feature-item">
                <!-- <img src="icon1.svg" alt="功能1" class="feature-icon"> -->
                <div>
                    <h3>视频监管</h3>
                    <p>收录施工视频43607条</p>
                </div>
            </div>
            <div class="feature-item">
                <!-- <img src="icon2.svg" alt="功能2" class="feature-icon"> -->
                <div>
                    <h3>安全助手</h3>
                    <p>登入访问528起</p>
                </div>
            </div>
            <div class="feature-item">
                <!-- <img src="icon2.svg" alt="功能2" class="feature-icon"> -->
                <div>
                    <h3>监督履职</h3>
                    <p>收录监理视频39423条</p>
                </div>
            </div>
            <div class="feature-item">
                <!-- <img src="icon2.svg" alt="功能2" class="feature-icon"> -->
                <div>
                    <h3>隐患整改</h3>
                    <p>实时管控、立行立改3287起</p>
                </div>
            </div>
        </div>

        <!-- 下载按钮 -->
        <a href="#" class="download-btn" id="downloadBtn">
            立即下载
        </a>

        <!-- 微信提示 -->
        <div class="wechat-tip" id="wechatTip">
            <p>检测到微信环境，请点击右上角<br>使用浏览器打开以下载安装包</p>
        </div>
    </div>

    <script>
        // 环境检测
        function isWechatBrowser() {
            return /MicroMessenger/i.test(navigator.userAgent);
        }

        // 下载处理
        function handleDownload() {
            if(isWechatBrowser()) {
                document.getElementById('wechatTip').style.display = 'block';
                return false;
            } else {
                // window.location.href = 'your-app.apk';
                window.location.href = 'http://175.6.56.169:7778/projectRun/front/development/view/appIndex';
                return true;
            }
        }

        // 绑定事件
        document.getElementById('downloadBtn').onclick = handleDownload;
    </script>
</body>
</html>